package com.itheima.dao;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    /**
     * 将用户的信息，用户对应的角色信息，角色对应的权限信息都获取出来
     */
    User findUserByUserNameAndPassword(@Param("username") String username, @Param("password") String password);
    User findUserByUserNameAndPassword2(String username);
}
